/**
 * 
 */
package com.roc.web.dwr;

import java.util.Date;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.directwebremoting.annotations.RemoteMethod;
import org.directwebremoting.annotations.RemoteProxy;

/**
 * @author RenPengFei
 *
 * 2011-11-18
 */
@RemoteProxy
public class DwrTest {
	
	Logger logger = LogManager.getLogger(DwrTest.class);
	
	
	@RemoteMethod
	public Date getDate(){
		logger.debug("DWR 调用");
		return new Date();
	}
	
	@RemoteMethod
	public String getDBDate(){
		logger.debug("DWR 调用");
		//return testService.test();
		return null;
	}
	
}
